package indi.madoka.weeb.annotations;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;;

@Component
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Sentinel {

    int limit() default -1;

    long timer() default 1;

    String returns() default "访问次数限制；稍后再试";

}
